package com.ruoyi.residentsqr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.ruoyi.pojo.TbResidents;
import com.ruoyi.residentsqr.residentqrDto.ResidentsDto;
import com.ruoyi.residentsqr.residentsqrVo.ResidentsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TbResidentsMapper extends BaseMapper<TbResidents> {


    Page<ResidentsVo> findPage(@Param("page") Page<TbResidents> page,@Param("r") ResidentsDto residentsDto);


    ResidentsVo getId(Integer id);
}
